package com.zhangdi.dwperms.service;


import com.zhangdi.dwperms.entity.Role;

import java.util.List;

public interface RoleService {
    //    Role findRole(long roleId);
    List<Role> findUserRoleByUserId(Long id);
    List<Role> findUserRoleInTenantByUserId(Long id);
    int addRole(Role role);
    int addUserRole(Long userId, Long roleId, Long tenantId);
}
